package com.mayikt.strategy;

import com.mayikt.entity.UnionLoginDO;
import com.mayikt.entity.UserDO;

import javax.servlet.http.HttpServletRequest;

/**
 * @Name UnginLoginStrategy
 * @Author 枫火
 * @Date 2021/5/28 10:32
 * @Description
 **/
public interface UnionLoginStrategy {

    String unionLoginCallback(HttpServletRequest request, UnionLoginDO unionLoginDo);

    UserDO getDbOpenId(String openId);

    int updateUseOpenId(Long userId,String openId);
}
